package xmlasm.dto;

import java.math.BigInteger;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>Java class for feedback complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="feedback">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="feedbackID" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
 *         &lt;element name="userID" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
 *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="feedbackContent" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="sendDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="status">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;enumeration value="normal"/>
 *               &lt;enumeration value="added"/>
 *               &lt;enumeration value="modified"/>
 *               &lt;enumeration value="deleted"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "feedback", propOrder = {
    "feedbackID",
    "userID",
    "title",
    "feedbackContent",
    "sendDate"
})
public class Feedback {

    @XmlElement(required = true)
    @XmlSchemaType(name = "positiveInteger")
    protected int feedbackID;
    @XmlElement(required = true)
    @XmlSchemaType(name = "positiveInteger")
    protected int userID;
    @XmlElement(required = true)
    protected String title;
    @XmlElement(required = true)
    protected String feedbackContent;
    @XmlElement(required = true)
    @XmlSchemaType(name = "dateTime")
    protected Date sendDate;

    /**
     * Gets the value of the feedbackID property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public Feedback() {
    }

    public int getFeedbackID() {
        return feedbackID;
    }

    /**
     * Sets the value of the feedbackID property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setFeedbackID(int value) {
        this.feedbackID = value;
    }

    /**
     * Gets the value of the userID property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public int getUserID() {
        return userID;
    }

    /**
     * Sets the value of the userID property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setUserID(int value) {
        this.userID = value;
    }

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

    /**
     * Gets the value of the feedbackContent property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFeedbackContent() {
        return feedbackContent;
    }

    /**
     * Sets the value of the feedbackContent property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFeedbackContent(String value) {
        this.feedbackContent = value;
    }

    /**
     * Gets the value of the sendDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getSendDate() {
        return sendDate;
    }


    public Feedback(int feedbackID, int userID, String title, String feedbackContent, Date sendDate) {

        this.feedbackID = feedbackID;
        this.userID = userID;
        this.title = title;
        this.feedbackContent = feedbackContent;
        this.sendDate = sendDate;
    }

    public Feedback(int userID, String title, String feedbackContent, Date sendDate) {
        this.userID = userID;
        this.title = title;
        this.feedbackContent = feedbackContent;
        this.sendDate = sendDate;
    }

    /**
     * Sets the value of the sendDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setSendDate(Date value) {
        this.sendDate = value;
    }

}
